package com.sayice.design.lab2_2.factory;

import com.sayice.design.lab2_2.connection.Connection;
import com.sayice.design.lab2_2.connection.IMAPConnection;

/**
 * @author shubing
 */
public class IMAPConnectionFactory extends ConnectionFactory {
    @Override
    public Connection getConnection() {
        System.out.println("IMAPConnectionFactory 创建 IMAPConnection");
        return new IMAPConnection();
    }
}
